package systemServer.reproduction;
 
import javax.jdo.annotations.PersistenceCapable;

import systemServer.members.Member;
@PersistenceCapable
public class Play {

	private Member member;
	private long date;
	private double price;
	private Song song;
	
 
	 public Play(long date, double price, Song song, Member member) {
		super();
		this.date = date;
		this.price = price;
		this.song = song;
		this.member = member;
	}

	public long getDate() {
		return date;
	}

	public double getPrice() {
		return price;
	}

	public Song getSong() {
		return song;
	}
	
	public Member getMember() {
		return member;
	}

	@Override
	public String toString() {
		return "Play [date=" + date + ", price=" + price
				+ ", song=" + song + "]";
	}
	
}
